const Hapi = require('hapi');
const inert = require('inert');
const vision = require('vision')
const package = require('package');

const HapiSwagger = require('hapi-swagger');
module.exports = [
  inert,
  vision,
  {
    plugin: HapiSwagger,
    options: {
      info: {
        title: '接口文档',
        version: package.version,
      },
      grouping: 'tags'
    }
  }
]
